[MUSIC] Hello and welcome to this
demonstration on debugging selectors. [MUSIC] In this video, you will learn about some
functionalities that can be used to debug a selector issue by indicating an anchor
for a selector that changes its location. So, let's begin. Search for an open browser activity
in the activities panel and drag and drop it in the designer panel. [MUSIC] A sequence is automatically
created when the input dialog activity is dropped
in the designer panel. Let's rename the sequence activity and
add an annotation to it. [MUSIC] Rename the open browser activity. [MUSIC] In double quotes, enter website URL,
www.rpachallenge.com. And insert URL here field of
the open browser activity. Navigate to the properties panel
of the open browser activity and select edge from the browser
type drop down menu. [MUSIC] Select run from the debug file menu on
the design ribbon to run the project. [MUSIC] Search for a type into activity and drag and drop it in the due container
of the open browser activity. [MUSIC] Rename the type into activity. [MUSIC] Click the indicate element
inside browser link and select the input field of
the first name label in the form. [MUSIC] In the text area of the type into
activity, enter John and double quotes. [MUSIC] Click save to save the project and run it. [MUSIC] You can see that workflow
reopens the URL and this time the position of
first name has changed. Therefore, the process is facing
difficulty in locating the input field. [MUSIC] Here, wait for a few seconds
until the error message displays. [MUSIC] You can see that the error called
UI element not found is displayed. Now to resolve this error,
you will use UIExplorer window. Click OK to close the error window,
click the hamburger button and the type into activity and select open
in UIExplorer from the context menu. [MUSIC] In the UIExplorer pop up window,you can
see that the validate button is in red color which indicates that
the selector is invalid. [MUSIC] Click the indicate element button and indicate the input field
of the first name label. [MUSIC] Click the indicate anchor button and indicate the label first
name as an anchor. [MUSIC] Now, uncheck the ID field to make
the selector more reliable and dynamic. Click validate button to
validate the setting. [MUSIC] You can see that the validate
button is in green color now, which indicates that
the selector is valid. Click Save to save the changes. [MUSIC] Now, click Save to save the project and
run it. [MUSIC] You can see that this time again,
the position of first name input field changed, but
the name John was entered successfully. With this, we now come to
the end of the demonstration. It is encouraged to watch this video and familiarize yourself with the various
functionalities in UIExplorer. [MUSIC] Thank you for watching.